package com.pingan.haofang.searchcloud.monitor.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 对应每条折线图响应DTO
 *
 * @author EX-ZHOUYONG005
 * @date 2018/11/6
 * @since 1.0.0
 */
@ApiModel(description = "对应每条折线图响应DTO")
public class ChartReportResultDTO {

    @ApiModelProperty("线性名称")
    private String name;

    @ApiModelProperty("对应x,y轴映射集合")
    private List<ChartReportXYMapDTO> xyMapList;

    public ChartReportResultDTO() {
    }

    public ChartReportResultDTO(String name, List<ChartReportXYMapDTO> xyMapList) {
        this.name = name;
        this.xyMapList = xyMapList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ChartReportXYMapDTO> getXyMapList() {
        return xyMapList;
    }

    public void setXyMapList(List<ChartReportXYMapDTO> xyMapList) {
        this.xyMapList = xyMapList;
    }
}
